home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 November / CPNL0711.ISO / admin / secure / Tor - Privoxy - Vidalia.exe / Privoxy / templates / cgi-error-parse < prev    next >
Text File  |  2006-11-04  |  5KB  |  176 lines

  1. ##########################################################
  2. #
  3. # No-Such-Domain Error Output template for Privoxy.
  4. #
  5. #
  6. # USING HTML TEMPLATES:
  7. # ---------------------
  8. #
  9. # Template files are written win plain HTML, with a few
  10. # additions:
  11. # - Lines that start with a '#' character like this one
  12. #   are ignored
  13. #
  14. # - Each item in the below list of exported symbols will
  15. #   be replaced by dynamically generated text, if they
  16. #   are enclosed in '@'-characters. E.g. The string @version@
  17. #   will be replaced by the version number of Privoxy.
  18. #
  19. # - One special application of this is to make whole blocks
  20. #   of the HTML template disappear if the condition <name>
  21. #   is not given. Simply enclose the block between the two
  22. #   strings @if-<name>start and if-<name>-end@. The strings
  23. #   should be placed in HTML comments (<!-- -->), so the
  24. #   html structure won't be messed when the magic happens.
  25. #   
  26. # USABLE SYMBOLS IN THIS TEMPLATE:
  27. # --------------------------------
  28. #
  29. #  my-ip-addr:
  30. #    The IP-address that the client used to reach this proxy
  31. #  my-hostname:
  32. #    The hostname associated with my-ip-addr
  33. #  admin-address:
  34. #    The email address of the pxoxy's administrator, as configured
  35. #    in the config file
  36. #  default-cgi:
  37. #    The URL for the "main menu" builtin CGI of this proxy
  38. #  menu:
  39. #    List of <li> elements linking to the other available CGIs
  40. #  version:
  41. #    The version number of the proxy software
  42. #  code-status:
  43. #    The development status of the proxy software: "alpha", "beta",
  44. #    or "stable".
  45. #  homepage:
  46. #    The URL of the SourceForge ijbswa project, who maintains this
  47. #    software.
  48. #
  49. # CONDITIONAL SYMBOLS FOR THIS TEMPLATE AND THEIR DEPANDANT SYMBOLS:
  50. # ------------------------------------------------------------------
  51. #
  52. #  unstable:
  53. #    this is an alpha or beta release of the proxy software
  54. #  have-adminaddr-info:
  55. #    An e-mail address for the local Privoxy adminstrator has
  56. #    been specified and is available through the "admin-address"
  57. #    symbol
  58. #  have-proxy-info:
  59. #    A URL for online documentation about this proxy has been
  60. #    specified and is available through the "proxy-info-url"
  61. #    symbol
  62. #  have-help-info:
  63. #    If either have-proxy-info is true or have-adminaddr-info is
  64. #    true, have-help-info is true.  Used to conditionally include
  65. #    a grey box for any and all help info.
  66. #
  67. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  68. <html>
  69.  
  70. <head>
  71.   <title>Privoxy: Parse error</title>
  72.   <meta http-equiv="Content-Style-Type" content="text/css">
  73.   <meta http-equiv="Content-Script-Type" content="text/javascript">
  74.   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  75.   <meta name="robots" content="noindex,nofollow">
  76.   <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
  77. </head>
  78.  
  79. <body>
  80.  
  81.   <table cellpadding="20" cellspacing="10" border="0" width="100%">
  82.     <tr>
  83.       <td class="title">
  84.  
  85. #include mod-title
  86.  
  87.       </td>
  88.     </tr>
  89.  
  90. <!-- @if-unstable-start -->
  91. # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
  92.     <tr>
  93.       <td class="warning">
  94.  
  95. #include mod-unstable-warning
  96.  
  97.       </td>
  98.     </tr>
  99. <!-- if-unstable-end@ -->
  100.  
  101.     <tr>
  102.       <td class="warning">
  103.         <h2>Parse error</h2>
  104.          <p>The file you're trying to edit is not valid.  You need to fix
  105.            it using a text editor before you can edit it using the
  106.            web-based editor.</p>
  107.         <p>This error should only occur if you edited the file using a text
  108.            editor.  If you managed to take a valid file and break it this
  109.            badly using the web-based editor, please file a bug report!</p>
  110.         <p>When you've fixed the problem, you can go back into the edit
  111.            interface using the menu below, or by clicking <a 
  112.            href="edit-actions-list?f=@f@">here</a>.
  113.         </p>
  114.       </td>
  115.     </tr>
  116.  
  117.     <tr>
  118.       <td class="box">
  119.         <h2>Problem description:</h2>
  120.         <p>@parse-error@</p>
  121.       </td>
  122.     </tr>
  123.  
  124.     <tr>
  125.       <td class="box">
  126.         <h2>The line which caused the problem:</h2>
  127.         <pre>@line-raw@</pre>
  128.       </td>
  129.     </tr>
  130.  
  131.     <tr>
  132.       <td class="box">
  133.         <h2>The line which caused the problem, with comments removed</h2>
  134.         <p><code>@line-data@</code></p>
  135.       </td>
  136.     </tr>
  137.  
  138.     <tr>
  139.       <td class="box">
  140.         <h2>Note</h2>
  141.         <p>Only the first error is reported - the file may contain other
  142.            errors, as well as the one reported above.</p>
  143.       </td>
  144.     </tr>
  145.  
  146.     <tr>
  147.       <td class="box">
  148.         <h2>More Privoxy:</h2>
  149.         <ul>@menu@<li><a href="@user-manual@">Documentation</a></li></ul>
  150.       </td>
  151.     </tr>
  152.  
  153.     <tr>
  154.       <td class="info">
  155.  
  156. #include mod-support-and-service
  157.  
  158.       </td>
  159.     </tr>
  160.  
  161. <!-- @if-have-help-info-start -->
  162.     <tr>
  163.       <td class="info">
  164.  
  165. #include mod-local-help
  166.  
  167.       </td>
  168.     </tr>
  169. <!-- if-have-help-info-end@ -->
  170.     
  171.   </table>
  172.  
  173. </body>
  174. </html>
  175.